from django.db import models
# python manage.py makemigrations
# python manage.py migrate
# 修改模型 → makemigrations（生成迁移文件） → migrate（应用迁移到数据库）
class D_Books(models.Model):
    title = models.CharField(max_length=100)
    summary = models.TextField()
    author = models.TextField()
    fav_count = models.IntegerField()
    commend_count = models.IntegerField()
    publisher = models.TextField()
    price = models.FloatField()
    tags = models.TextField()
    url = models.TextField()
